﻿@model LeadMaster.Models.RegisterModel
<header>
<div class="logo" style="vertical-align: middle; text-align: left;">
<img src="~/Images/Dunsmore.png" style="border: none; height: 100px; width: 100px;" alt="Dunsmore Marketing Ltd"/>
<label style="font-family: 'Trebuchet MS'; font-size: 18px;  ">Orac-LYE v1.0</label>
<nav></nav>
</div>
</header>
<style type="text/css">
#divRegister label
{
width: 100px;   
}
#divRegister label
{
    width:100px;
}
</style>

<div id="divRegister">
@using (Html.BeginForm()) {
    @Html.ValidationSummary()

    <fieldset>
        <legend style="width:180px;">Registration</legend>
        <table>
        <tr>
        <td>@Html.LabelFor(m => m.UserName)</td>
        <td>@Html.TextBoxFor(m => m.UserName, new { style="width: 150px" })</td>
        </tr>
        <tr>
        <td>@Html.LabelFor(m => m.Email)</td>
        <td>@Html.TextBoxFor(m => m.Email, new { style = "width: 150px" })</td>
        </tr>
        <tr>
        <td>@Html.LabelFor(m => m.Password)</td>
        <td>@Html.PasswordFor(m => m.Password, new { style = "width: 150px" })</td>
        </tr>
        <tr>
        <td>@Html.LabelFor(m => m.ConfirmPassword)</td>
        <td>@Html.PasswordFor(m => m.ConfirmPassword, new { style = "width: 150px" })</td>
        </tr>
        <tr style="height: 80px;">
        <td>&nbsp;</td>
        <td>
        <input type="submit" value="Register" />
        <input type="button" value="Cancel" id="btnCancel" onClick="window.location.href='@(Url.Action("Login"))'"/>
        </td>
        </tr>
        </table>
    </fieldset>
}
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
